package mx.netbrain.dao.impl;

import mx.netbrain.dao.InstallDao;
import mx.netbrain.model.Install;
import mx.netbrain.util.HibernateUtil;

import org.hibernate.Session;

public class InstallDaoImpl implements InstallDao {

	@Override
	public Install findById() {
		Session session = HibernateUtil.getSessionFactory().openSession();
		return (Install) session.load(Install.class, 1);
	}

}
